Build #211
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: | |
schedule: | |
- cron: "0 12 * * SUN" | |
push: | |
branches: | |
- master | |
pull_request_target: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
python-version: ['3.8', '3.13'] | |
os: [ubuntu-latest, macos-latest] | |
environment: | |
name: random word ci | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Decrypt large secret | |
run: ./.github/scripts/decrypt_secrets.sh | |
env: | |
SECRET_PASSPHRASE: ${{ secrets.SECRET_PASSPHRASE }} | |
- name: Copying Config.yml to random_word folder | |
run: cp $HOME/secrets/config.yml random_word/ | |
- name: Print Directory Structure of random_word | |
run: ls -la random_word | |
- name: Setup Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
architecture: x64 | |
- name: Install packages | |
run: | | |
make init | |
- name: Python Lint | |
run: | | |
make lint | |
- name: Run tests | |
run: | | |
make test |