Lint and Test #2
Workflow file for this run
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: lint-and-test | |
run-name: Lint and Test | |
on: | |
pull_request: | |
branches: | |
- main | |
push: | |
branches: | |
- main | |
jobs: | |
lint: | |
name: Build Lint and Test Code | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Python | |
uses: actions/setup-python@v4 | |
- name: Setup Poetry | |
uses: abatilo/actions-poetry@v2 | |
- name: Install Dependencies | |
run: | | |
poetry install | |
- name: Build Lint and Test | |
run: | | |
make ci-build-lint-test | |
env: | |
MARKETSTACK_TOKEN_TEST: "${{ secrets.MarketstackFreeTestToken }}" | |
- name: Upload Artifacts | |
uses: actions/upload-artifact@v3 | |
with: | |
name: build-artifacts.tar.gz | |
path: build-artifacts.tar.gz |