Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use my new nginx action to set up nginx in CI #41

Open
nyurik opened this issue May 25, 2024 · 0 comments
Open

Use my new nginx action to set up nginx in CI #41

nyurik opened this issue May 25, 2024 · 0 comments

Comments

@nyurik
Copy link
Collaborator

nyurik commented May 25, 2024

I think it will be a good fit for http testing: https://github.com/nyurik/action-setup-nginx

      - name: Run NGINX
        uses: nyurik/action-setup-nginx@v1.1
        id: nginx
        with: { port: '5412', output-unix-paths: 'yes' }

      - name: Copy static files
        run: cp -r tests/fixtures/* ${{ steps.nginx.outputs.html-dir }}

      - name: Test pmtiles
        run: |
          # Some code that accesses localhost:5412/myfile.pmtiles - assuming that's what in the test fixtures
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant